package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.model.Entity;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by God on 2016/8/8.
 */
public class WithdrawRecoder extends Entity {

    /**
     * 待审核
     */
    public final static int STATE_NEW = 0;
    /**
     * 待收款
     */
    public final static int STATE_PASS = 1;
    /**
     * 未通过
     */
    public final static int STATE_REJECTED = 2;
    /**
     * 完成付款
     */
    public final static int STATE_FINISH = 3;
    /**
     * 付款失败
     */
    public final static int STATE_FAIL = 4;

    public static Map<String, String> STATE_MAP = new HashMap() {
        {
            put(STATE_NEW, "待审核");
            put(STATE_PASS, "待收款");
            put(STATE_REJECTED, "未通过");
            put(STATE_FINISH, "完成付款");
            put(STATE_FAIL, "付款失败");
        }
    };


    private String createtime;


    private double amount;
    private int status;
    private int accountid;
    private String account;
    private String accountName;


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public int getAccountid() {
        return accountid;
    }

    public void setAccountid(int accountid) {
        this.accountid = accountid;
    }


    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreatetime() {

        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "WithdrawRecoder{" +
                "createtime='" + createtime + '\'' +
                ", amount=" + amount +
                ", status=" + status +
                ", accountid=" + accountid +
                ", account='" + account + '\'' +
                ", accountName='" + accountName + '\'' +
                '}';
    }
}
